package io.finer.erp.jeecg.stock.vo;

import java.util.List;
import io.finer.erp.jeecg.stock.entity.StkProcessingOrder;
import io.finer.erp.jeecg.stock.entity.StkProcessingRecord;
import lombok.Data;

import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 代加工单
 * @Author: jeecg-boot
 * @Date:   2021-04-19
 * @Version: V1.0
 */
@Data
@ApiModel(value="stk_processing_orderPage对象", description="代加工单")
public class StkProcessingOrderPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
	private java.lang.String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private java.util.Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private java.util.Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private java.lang.String sysOrgCode;
	/**编码*/
	@Excel(name = "编码", width = 15)
	@ApiModelProperty(value = "编码")
	private java.lang.String orderNo;
	/**制单人*/
	@Excel(name = "制单人", width = 15)
	@ApiModelProperty(value = "制单人")
	private java.lang.String orderProducer;
	/**代加工状态*/
	@Excel(name = "代加工状态", width = 15)
	@ApiModelProperty(value = "代加工状态")
	private java.lang.String orderStatus;
	/**供应商*/
	@Excel(name = "供应商", width = 15)
	@ApiModelProperty(value = "供应商")
	private java.lang.String supplierId;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
	private java.lang.String remark;
	/**代加工总价*/
	@Excel(name = "代加工总价", width = 15)
	@ApiModelProperty(value = "代加工总价")
	private java.math.BigDecimal totalAmount;
	/**联系电话*/
	@Excel(name = "联系电话", width = 15)
	@ApiModelProperty(value = "联系电话")
	private java.lang.String orderPhone;
	/**地址*/
	@Excel(name = "地址", width = 15)
	@ApiModelProperty(value = "地址")
	private java.lang.String processAddress;
	/**客户*/
	@Excel(name = "客户", width = 15)
	@ApiModelProperty(value = "客户")
	private java.lang.String customerId;
	
	@ExcelCollection(name="代加工详细记录")
	@ApiModelProperty(value = "代加工详细记录")
	private List<StkProcessingRecord> stkProcessingRecordList;
	
	/**是否开票*/
	@ApiModelProperty(value = "是否开票")
	@Dict(dicCode = "yn")
	private String isInvoice;
	/**是否包含运费*/
	@ApiModelProperty(value = "是否包含运费")
	@Dict(dicCode = "yn")
	private String isFreight;
	
}
